package com.woniu.commentorder.mapper;

import com.hc.entity.Paper;
import com.hc.vo.PaperVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface PaperMapper {
    public List<Paper> selectAllByCon(Paper paper);
    public List<Paper> selectByCon(Paper paper);
    public List<Paper> selectByVo(PaperVo paperVO);
    @Update("update hc_paper set unlikenum=unlikenum+1 where id =#{id}")
    public void inform(int id);
}
